Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor ApplicationFactory #64

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

angelsanzn
Copy link
Contributor

Here are some minor changes that occurred to me when reading the code.

I understand that you might not like the "namespaced import" (from mamba.settings ...) because it differentiates between importing settings and importing almost everything else, and because the importing style through the code mostly avoids "namespaced imports", in favour of explicit attribute lookup in the imported names.

I personally prefer importing only what I need from my own modules (but usually not from buillt-in modules), especially when most modules are actually exposing a single class or two.

Anyway, tell me what you think 😉

Ángel Sanz added 3 commits December 3, 2015 13:56
…tings_`

This uses a namespaced import to avoid creating a local
variable 'settings' with the import statement, which was
the reason why a trailing slash was used to avoid shadowing
that variable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant